package com.imachen.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockDto {

    @NotNull(message = "参数不能为空！")
    private Long productId;

    @NotNull(message = "参数不能为空！")
    private Integer count;

    @NotNull(message = "参数不能为空！")
    private Integer status; // 0：入库 1：出库

}
